home *** CD-ROM | disk | FTP | other *** search
/ Inside Indy 1993 / Inside Indy 1993.iso / demos / CHEM / ribbon / bin / ss-hx-range < prev   
Encoding:
Text File  |  1993-06-23  |  325 b   |  26 lines

  1. #!/bin/csh
  2.  
  3. set RibDir = ~ribbons
  4.  
  5. if( $#argv != 2 ) then
  6.     goto Usage
  7. endif
  8.  
  9. if( ! -e $1 ) then
  10.     echo " SS file $1 does not exist. "
  11.     goto Usage
  12. endif
  13.  
  14. if( -e $2 ) then
  15.     echo " file $2 already exists. "
  16.     goto Usage
  17. endif
  18.  
  19. awk -f $RibDir/fithx/ss-hx.awk < $1 > $2
  20.  
  21. exit
  22.  
  23.  
  24. Usage:
  25.     echo " usage:  ss-hx-range  mol.ss  hx.range"
  26.